/**
 * 用户静态头像列表
 */
import avatar_1 from '@/assets/userStaticAvatar/a1.webp'
import avatar_2 from '@/assets/userStaticAvatar/a2.jpeg'
import avatar_3 from '@/assets/userStaticAvatar/a3.jpg'
import avatar_4 from '@/assets/userStaticAvatar/a4.jpeg'
import avatar_5 from '@/assets/userStaticAvatar/a5.jpeg'

// 建立映射对象
export const userAvatarMap = {
    1: avatar_1,
    2: avatar_2,
    3: avatar_3,
    4: avatar_4,
    5: avatar_5
}

const _userAvatars_: Array<{ key: string; value: string }> = []
for (const key in userAvatarMap) {
    // @ts-ignore
    _userAvatars_.push({ key, value: userAvatarMap[key] })
}

export const userAvatars = _userAvatars_
